<?php

/**
 * Development configuration
 * Usage:
 * - Local website
 * - Local DB
 * - Show all details on each error
 * - Gii module enabled
 */
$dirname = dirname(__FILE__);
$files = dirname(realpath($dirname . '/../../index.php')) . '/files';

return array(
	'yiiPath'=>'/PortableApps/Yii 1.1.10/framework/yii.php',
	'yiicPath'=>'/PortableApps/Yii 1.1.10/framework/yiic.php',
	'yiitPath'=>'/PortableApps/Yii 1.1.10/framework/yiit.php',
	'yiiDebug'=>true,
	'yiiTraceLevel'=>3,
	'configWeb'=>array(
		'modules'=>array(
			'gii'=>array(
				'class'=>'system.gii.GiiModule',
				'password'=>'Hayate',
			),
		),
		'components'=>array(
			'db'=>array(
				'connectionString'=>"sqlite:$dirname/../data/development.db",
			),
			'log'=>array(
				'class'=>'CLogRouter',
				'routes'=>array(
					array(
						'class'=>'CFileLogRoute',
						'levels'=>'error, warning, trace, info',
					),
//					array(
//						'class'=>'CWebLogRoute',
//						'levels'=>'error, warning, trace, info',
//						'showInFireBug'=>true,
//					),
				),
			),
		),
		'params'=>array(
			'mode'=>'development',
			'company'=>'Julot',
			'adminEmail'=>'hayate@ashitahadochida.site11.com',
			'admin'=>array(
				'name'=>'Julot',
				'email'=>'andy.julot@gmail.com',
			),
			'files'=>$files,
			'reCaptcha'=>array(
				'key'=>array(
					'public'=>'6LeTxdASAAAAALqyQ915SNXxPJytvxt8LhklL7ps',
					'private'=>'6LeTxdASAAAAAE3HAN8raG6kUPeTy20Ai6P9zj4t',
				),
			),
		),
	),
	'configConsole'=>array(
		'params'=>'inherit',
	),
);